<template>
  <view class="wrapper">
    <!-- <view class="title time">今日-第{{ liveDay }}天 </view> -->
    <view class="basic">
      <view class="title"> 基本信息</view>
      <view class="listContainer">
        <view class="list">
          <view class="type">姓名</view>
          <view class="detail"> {{ formData.name }} </view>
        </view>

        <!-- <view class="list">
          <view class="type">性别</view>
          <view class="detail">
            {{ formData.gender == "1" ? "男" : formData.gender == "0" ? "女" : "" }}
          </view>
        </view> -->
        <view class="list">
          <view class="type">证件号</view>
          <view class="detail"> {{ formData.identity || "" }} </view>
        </view>

        <!-- 1.7先隐藏 -->
        <!-- <view class="list" >
          <view class="type">核酸检测</view>
          <view class="detail"> {{ formData.nucleicAcid || "未检测" }} </view>
        </view>
        <view class="list" >
          <view class="type">疫苗接种</view>
          <view class="detail">
            {{
              formData.vaccination
                ? `第${formData.vaccination}针`
                : "" || "未接种"
            }}
          </view>
        </view> -->

        <!-- <view class="list">
          <view class="type">电话号码</view>
          <view class="detail"> {{ userInfo.phone }} </view>
        </view> -->
        <!-- <view class="list">
          <view class="type">国籍</view>
          <view class="detail"> {{ checkInInfo.nationality || "" }} </view>
        </view> -->
        <!-- <view class="list" style="border: none">
          <view class="type">年龄</view>
          <view class="detail"> {{ checkInInfo.age || "" }}</view>
        </view> -->
      </view>
    </view>
    <view class="form-wrapper myform">
      <view class="title"> 填报内容</view>
      <view class="form-content">
        <!--  <view class="form-item">
          <view class="label">体温</view>
          <input class="input" placeholder="请输入数值" />
        </view>
        <view class="form-item">
          <view class="label">血糖</view>
          <input class="input" placeholder="请输入数值" />
        </view>
        <view class="form-item">
          <view class="label">医学建议</view>
          <input class="input" placeholder="请输入数值" />
        </view>
        <view class="form-item">
          <view class="label">症状</view>
          <input class="input" placeholder="请输入数值" />
        </view> -->

        <view class="form-item">
          <view class="label">体温<text>*</text></view>
          <uni-easyinput
            type="digit"
            v-model="formData.temperature"
            placeholder="请输入体温"
            :class="{ 'risk-value': parseFloat(formData.temperature) >= 37.3 }"
          ></uni-easyinput>
        </view>
        <!-- <view class="form-item">
          <view class="label">血糖</view>
          <uni-easyinput
            type="text"
            v-model="formData.xt"
            placeholder="请输入血糖"
          ></uni-easyinput>
        </view> -->
        <!-- <view class="form-item">
          <view class="label"> 血压(低)</view>
          <uni-easyinput
            type="text"
            v-model="formData.xydy"
            placeholder="请输入血压"
          ></uni-easyinput>
        </view> -->
        <!-- <view class="form-item">
          <view class="label"> 血压(高)</view>
          <uni-easyinput
            type="text"
            v-model="formData.xygy"
            placeholder="请输入血压"
          ></uni-easyinput>
        </view> -->
        <!-- <view class="form-item form-item-date-picker">
          <view class="label"> 观察时间<text>*</text></view>
          <picker
            mode="multiSelector"
            :value="dateTime"
            @change="bindDateChange"
            class="picker-control-con-picker-date"
            @columnchange="changeDateTimeColumn"
            :range="dateTimeArray"
          >
            <view class="lableBox" style="display: inline-block">
              <view class="uni-input">{{
                formData.gcsj || "请选择观察时间"
              }}</view>
            </view>
          </picker> -->
        <!-- <picker
            class="picker-btn"
            mode="date"
            :value="formData.gcsj"
            @change="bindDateChange"
          >
            <view class="uni-input">{{
              formData.gcsj || "请选择观察时间"
            }}</view>
          </picker> -->
        <!-- </view> -->

        <view>
          <view
            class="form-item inline-item form-item-border-none form-item-radio"
          >
            <view class="label">今日是否有异常症状<text>*</text></view>
            <uni-data-checkbox
              v-model="formHandle.abnormalSymptoms"
              :localdata="results"
              class="my-raido"
              @change="onCheckRadioChange"
            ></uni-data-checkbox>
            <!-- <radio-group @change="onCheckRadioChange">
              <label>
                <radio :checked="formData.hsjg === '0'" value="0">否</radio>
              </label>
              <label>
                <radio :checked="formData.hsjg === '1'" value="1">是</radio>
              </label>
            </radio-group> -->
          </view>
          <!-- <view v-if="formData.hsjg === '1'">
            <view class="form-item form-item-select-picker"> -->
          <!-- <view class="label">采样方式<text>*</text></view> -->
          <!-- <view class="picker">
                <picker
                  :value="formHandle.cyfsIndex"
                  :range="checkWays"
                  range-key="label"
                  @change="onCheckPickerChange"
                >
                  <view class="inline-between">
                    <view class="picker-text">{{
                      checkWays[formHandle.cyfsIndex].label || "请选择采样方式"
                    }}</view>
                    <view class="right-arrow-icon">
                      <image
                        class="nav-list-item-arr-show"
                        src="https://szgd-dev.tgovcloud.com/public/images/arr-right.png"
                        mode="widthFix"
                      ></image>
                    </view>
                  </view>
                </picker>
              </view>
            </view>
          </view> -->
        </view>
        <view class="form-item form-item-symptoms form-item-border-none">
          <!-- <view class="label"> 十大症状</view> -->

          <view class="main-symptoms my-checkbox my-checkbox-style" v-if="formData.abnormalSymptoms === '1'">
            <uni-data-checkbox
              multiple
              v-model="formHandle.mildSymptomIds"
              :localdata="healthMildSymptoms"
              class="my-raido"
              @change="onMildSymptomChange"
            ></uni-data-checkbox>
            <!-- <checkbox-group @change="onMildSymptomChange">
              <template v-for="(item, index) in mildSymptoms">
                <view class="checkbox" :key="index">
                  <checkbox
                    :value="item.value"
                    :checked="formHandle.mildSymptomIds.includes(item.value)"
                  ></checkbox>
                  <label>{{ item.text }}</label>
                </view>
              </template>
            </checkbox-group> -->
            <view
              class="other-symptoms"
              v-if="formHandle.mildSymptomIds.includes('11')"
            >
              <uni-data-checkbox
                multiple
                v-model="formHandle.severeSymptomIds"
                :localdata="healthSevereSymptoms"
                class="my-raido"
              ></uni-data-checkbox>
              <view
                class="other-symptom-input"
                v-if="formHandle.severeSymptomIds.includes('11')"
              >
                <uni-easyinput
                  type="text"
                  v-model="formData.otherSymptoms"
                  placeholder="请输入其它症状"
                ></uni-easyinput>
              </view>
              <!-- <checkbox-group @change="onSevereSymptomChange">
                <template
                  class="symptom"
                  v-for="(item, index) in severeSymptoms"
                >
                  <view class="checkbox" :key="index">
                    <checkbox
                      :value="item.value"
                      :checked="
                        formHandle.severeSymptomIds.includes(item.value)
                      "
                    ></checkbox>
                    <label>{{ item.label }}</label>
                  </view>
                </template>
              </checkbox-group> -->
            </view>
          </view>
        </view>
        <view>
          <view
            class="form-item inline-item form-item-border-none form-item-radio"
          >
            <view class="label">昨日是否外出驿站<text>*</text></view>
            <uni-data-checkbox
              v-model="formHandle.outingStation"
              :localdata="results"
              class="my-raido"
              @change="onTreatmentRadioChange"
            ></uni-data-checkbox>
            <!-- <radio-group @change="onTreatmentRadioChange">
              <label>
                <radio :checked="formData.zyzl === '0'" value="0">否</radio>
              </label>
              <label>
                <radio :checked="formData.zyzl === '1'" value="1">是</radio>
              </label>
            </radio-group> -->
          </view>

          <!-- <view class="form-item form-item-textarea form-item-border-none">
            <view class="label">医学建议</view>

            <textarea placeholder="请输入医学建议" v-model="formData.yxjy" />
          </view> -->
        </view>
        <!-- <view class="picker-time">
        <picker
          class="picker-btn"
          mode="date"
          :value="date"
          :start="startDate"
          :end="endDate"
          @change="bindDateChange"
        >
          <view class="uni-input">{{ date }}</view>
        </picker>
        <div class="kailong"></div> -->
        <!-- </view> -->
        <!-- <uni-forms-item name="bloodSugar" label="血糖">
            <uni-easyinput
              type="text"
              v-model="formData.bloodSugar"
              placeholder="请输入血糖"
            ></uni-easyinput>
          </uni-forms-item>
          <uni-forms-item name="bloodSugar" label="血压" class="bloodSugar">
            <uni-easyinput
              type="text"
              v-model="formData.sbp"
              placeholder="请输入高压"
            ></uni-easyinput>
            <view class="split">/</view>
            <uni-easyinput
              type="text"
              v-model="formData.dbp"
              placeholder="请输入低压"
            ></uni-easyinput>
          </uni-forms-item>
          <uni-forms-item name="observedTime" label="观察时间">
            <uni-easyinput
              v-model="formData.observedTime"
              placeholder="请输入观察时间"
            ></uni-easyinput>
          </uni-forms-item>
          <checkbox-group @change="samplingChange">
            <label>
              <checkbox
                class="checkbox"
                value="1"
                :checked="formData.nucleicAcidSampling == '1'"
                >核酸采样</checkbox
              >
            </label>
          </checkbox-group>
          <picker
            v-if="formData.nucleicAcidSampling == '1'"
            v-model="formData.samplingMethod"
            :range="rangeType"
            @change="pickChange"
          >
            <view
              :class="formData.samplingMethod == -1 ? 'mypickerNO' : 'mypicker'"
              >{{
                rangeType[formData.samplingMethod]
                  ? rangeType[formData.samplingMethod]
                  : "请选择采样类型"
              }}</view
            >
          </picker>
          <view class="block_line"></view>
          <checkbox-group @change="chineseChange">
            <label>
              <checkbox
                value="1"
                :checked="formData.usingtradChineseMed == '1'"
                class="checkbox"
                >中药治疗</checkbox
              >
            </label>
          </checkbox-group>
          <view class="block_line"></view>

          <uni-forms-item name="medicalAdvice" label="医学建议">
            <uni-easyinput
              v-model="formData.medicalAdvice"
              placeholder="请输入医学建议"
            ></uni-easyinput>
          </uni-forms-item> -->
      </view>
      <view class="example">
        <button class="submit" @click="submitForm('form')">提交</button>
      </view>
    </view>
  </view>
</template>

<script>
import {
  cardTypes,
  healthMildSymptoms,
  healthSevereSymptoms,
  checkWays,
} from "@/data";
import { getGzryInfo } from "@/api";
const {
  dateTimePicker,
  getMonthDay,
  generateTimeStr,
} = require("@/utils/dateTimePicker.js");
import dayjs from "dayjs";
export default {
  data() {
    return {
      dateTimeArray: null,
      cardTypeText: "",
      userInfo: {}, //用户信息
      checkInInfo: {}, // 隔离信息
      liveDay: 1, // 隔离天数
      formHandle: {
        cyfsIndex: "",
        mildSymptomIds: [],
        mildSymptomIdsCache: [],
        severeSymptomIds: [],
        severeSymptomIdsCache: [],
        hscy: "", // 核酸采样
      },
      formData: {
        abnormalSymptoms: 0, //今日是否有异常症状(0:没有 1:有)
        gender: "", //性别
        identity: "", //证件号码
        identityType: "", //证件类型
        name: "", //姓名
        nucleicAcid: "", //核酸检测结果
        otherSymptoms: "", //其它症状描述
        outingStation: 0, //今日是否有外出驿站(0:没有 1:有)
        reportTime: "", //上报时间
        secondarySymptoms: "", //二级症状
        symptoms: "", //一级症状
        temperature: "", //体温
        vaccination: "", //疫苗接种情况
      },
      healthMildSymptoms, // 轻症状
      healthSevereSymptoms, // 重症
      checkWays, //核酸检测方式
      cardTypes,
      results: [
        {
          text: "否",
          value: "0",
        },
        {
          text: "是",
          value: "1",
        },
      ],
      otherInfo: {
        cardType: "",
        idCard: "",
        inoculationSite: "",
        inoculationTime: "",
        inspectionItemResult: "",
        medicalInstitutionName: "",
        needleTimes: 0,
        realName: "",
        reportTime: "",
        userId: 0,
        vaccineName: "",
      },
    };
  },
  onLoad() {
    this.initTime();

    this.initUserInfo();
    this.initSetCurrentTime();
  },
  methods: {
    initUserInfo() {
      this.getOtherInfo();
    },
    getSex(UUserCard) {
      //获取性别
      if (parseInt(UUserCard.substr(16, 1)) % 2 == 1) {
        this.formData.gender = "0";
      } else {
        this.formData.gender = "1";
      }
    },
    getOtherInfo() {
      var that = this;
      getGzryInfo().then((res) => {
        that.otherInfo = res;
        that.formData.identityType = res.cardType;
        that.formData.identity = res.idCard;
        that.formData.name = res.realName;
        that.formData.nucleicAcid = res.inspectionItemResult;
        that.formData.vaccination = res.needleTimes;
        that.formData.temperature = res.temperature;
        that.getSex(res.idCard);
      });
    },
    // 计算已隔离天数
    getLiveDay(startTime) {
      const startTimestamp = new Date(startTime.split(" ")[0]).getTime();
      const nowTimestamp = new Date().getTime();
      const diffDay = (nowTimestamp - startTimestamp) / (60 * 60 * 24 * 1000);
      this.liveDay = diffDay < 1 ? 1 : Math.ceil(diffDay);
    },
    // 返回修改回显
    getMedicalObservation(personId) {
      getMedicalObservation({ personId: personId }).then((res) => {
        this.formInfo = res[0];
      });
    },

    // 选择症状(轻)
    onMildSymptomChange(item) {
      const values = item.detail.value;
      const firstValue = values[0];
      const oldValues = this.formHandle.mildSymptomIdsCache;
      const oldFirstValue = oldValues[0];
      // 无
      if (firstValue == "0") {
        this.formHandle.mildSymptomIds = ["0"];
        this.formHandle.severeSymptomIds = [];
      }
      if (oldFirstValue == "0" && values.length > 0) {
        this.formHandle.mildSymptomIds = values.filter((value) => value != 0);
      }
      if (!values.includes("11")) {
        this.formHandle.severeSymptomIds = [];
      }
      this.formHandle.mildSymptomIdsCache = this.formHandle.mildSymptomIds;
    },
    // 有无核酸检测
    onCheckRadioChange(e) {
      const value = e.detail.value;
      this.formData.abnormalSymptoms = value;
      if (value == "0") {
        this.formHandle.cyfsIndex = "";
      }
    },
    // 核酸采样方式
    onCheckPickerChange(e) {
      const index = e.detail.value;
      this.formHandle.cyfsIndex = index;

      this.formData.cyfs = checkWays[index].value;
    },
    // 有无中医治疗
    onTreatmentRadioChange(e) {
      const value = e.detail.value;
      this.formData.outingStation = value;
    },
    /**
     * 手动提交
     * @param {Object} form
     */
    submitForm(form) {
      // 过滤其它---> 暂不
      if (this.formData.abnormalSymptoms == 1) {
        this.formData.symptoms = this.formHandle.mildSymptomIds.filter(
          (value) => {
            // return value != "11";
            return true;
          }
        );
      } else {
        this.formData.symptoms = [];
      }
      this.formData.secondarySymptoms = this.formHandle.severeSymptomIds.filter(
        // (value) => value != "11"
        (value) =>  true
      );
      if(!this.formData.secondarySymptoms.includes('11')){
        this.formData.otherSymptoms=''
      }
      const { temperature, abnormalSymptoms, outingStation } = this.formData;
      let tips = "";
      if (!outingStation) {
        tips = "请选择昨日是否外出驿站";
      }
      if (!abnormalSymptoms) {
        tips = "请选择今日是否有异常症状";
      } else if (abnormalSymptoms == 1 || temperature >= 37.3) {
        if (this.formData.symptoms.length == 0) {
          tips = "请勾选异常状态";
        }
      }

      // 在这一步处理过滤掉“其他”
      if (this.formData.abnormalSymptoms == 1) {
        this.formData.symptoms = this.formData.symptoms.filter(value=>value!='11')
      }
      this.formData.secondarySymptoms=this.formData.secondarySymptoms.filter(value=>value!='11')


      if (!temperature) {
        tips = "请输入体温";
      }
      if (temperature) {
        if (String.prototype.trim === void 0) {
          String.prototype.trim = function () {
            return this.replace(/(^\s*)|(\s*$)/g, "");
          };
        }
        const reg = /(^[1-9]([0-9]+)?(\.[0-9]{1})?$)/;
        console.log("reg.test(temperature)", reg.test(temperature));
        if (
          parseFloat(temperature) > 45 ||
          parseFloat(temperature) < 35 ||
          !reg.test(temperature)
        ) {
          tips = "请输入正确的体温";
        }
      }

      if (tips) {
        uni.showToast({
          title: tips,
          icon: "none",
        });
      } else {
        uni.setStorageSync("gzryOtherInfo", this.formData);
        uni.navigateTo({
          url: `../healthReport/detail`,
        });
      }
    },
    initTime() {
      let date = new Date();
      let endYear = date.getFullYear();
      // 获取完整的年月日 时分秒，以及默认显示的数组
      let obj = dateTimePicker(this.startYear, endYear);

      obj.dateTimeArray[0] = [new Date().getFullYear()];

      // 精确到分的处理，将数组的秒去掉
      // let lastArray = obj.dateTimeArray.pop();
      // let lastTime = obj.dateTime.pop();

      this.dateTimeArray = obj.dateTimeArray;
      this.dateTime = obj.dateTime;
    },
    // 初始化观察时间
    initSetCurrentTime() {
      const dateStr = dayjs().format("YYYY-MM-DD HH:mm:ss");
      this.formData.reportTime = dateStr;
      // console.log(dateStr)
    },
    bindDateChange(e) {
      this.dateTime = e.detail.value;
      this.formData.reportTime = generateTimeStr(
        this.dateTimeArray,
        this.dateTime
      );
      //ios时间不能用'-'解析成时间戳
    },
    /*年,月切换时重新更新计算*/
    changeDateTimeColumn(e) {
      //let {id} = e.target;
      let { column, value } = e.detail;
      if (column == 0 || column == 1) {
        //直接修改数组下标视图不更新,用深拷贝之后替换数组
        let dateTime = JSON.parse(JSON.stringify(this.dateTime));
        let dateTimeArray = JSON.parse(JSON.stringify(this.dateTimeArray));
        dateTime[column] = value;
        dateTimeArray[2] = getMonthDay(
          dateTimeArray[0][dateTime[0]],
          dateTimeArray[1][dateTime[1]]
        );
        this.dateTime = dateTime;
        this.dateTimeArray = dateTimeArray;
      }
    },
  },
};
</script>

<style lang="scss">
.wrapper {
  background-color: #f9f9f9;
  .title {
    height: 98rpx;
    line-height: 98rpx;
    font-size: 40rpx;
    padding: 0 32rpx;
    background-color: #fff;
    border-bottom: 1rpx solid #e5e5e5;
  }
  .time {
    color: #2c9af1;
    border-bottom: none;
    background-color: #fff;
  }
}
// 基本信息
.basic {
  background-color: #fff;

  .listContainer {
    padding: 0 32rpx;
  }
  .list {
    height: 140rpx;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.5px solid #e5e5e5;
  }
  .type {
    font-size: 30rpx;
    font-family: PingFang SC;
    color: #999999;
    opacity: 1;
  }
  .detail {
    font-size: 34rpx;
    font-family: PingFang SC;
    color: #666666;
    opacity: 1;
  }
}
// 表单
.form-wrapper {
  margin-top: 30rpx;
  text {
    color: red;
  }
  .form-content {
    padding: 20rpx 32rpx;
    background-color: #fff;
  }
  .form-item-border-none {
    border-bottom: none !important;
  }
  .inline-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .risk-value {
    input {
      color: red !important;
    }
  }
  .other-symptom-input {
    border-bottom: 1rpx solid #e4e4e4;
  }
  .form-item-radio {
    label {
      margin-left: 60rpx;
    }
    .uni-data-checklist .checklist-group .checklist-box {
      margin-right: 0 !important;
      margin-left: 60rpx !important;
    }
  }

  .form-item-symptoms {
    .label {
      margin-bottom: 24rpx;
    }
    .checkbox {
      float: left;
      margin-bottom: 30rpx;
      margin-right: 30rpx;
      .label {
        font-weight: bold;
      }
    }
  }

  .main-symptoms {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
  }
  .my-checkbox{
    padding:22rpx;
    .uni-data-checklist .checklist-group {
        justify-content: space-between;
    }
  }
  .submit {
    margin-top: 30rpx;

    height: 94rpx;
    line-height: 94rpx;
    background: #2c9af1;
    opacity: 1;
    border-radius: 16rpx;
  }
  .form-item {
    padding-top: 20rpx;
    padding-bottom: 14rpx;
    color: #333333;
    font-size: 26rpx;
    border-bottom: 1rpx solid #e4e4e4;
    .label {
      color: #333333;
      font-size: 26rpx;
      font-weight: bold;
    }
    .checklist-text {
      color: #2c9af1;
      font-size: 26rpx !important;
      // font-weight: bold;
    }
  }
  .form-item-textarea {
    .label {
      padding-bottom: 20rpx !important;
    }
    textarea {
      max-height: 200rpx;
    }
  }

  .form-item-select-picker {
    border-bottom: none;
    .picker {
      position: relative;
      display: flex;
      align-items: center;
      height: 77rpx;
      padding: 0 40rpx;
      background: #ffffff;
      box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.16);
      border-radius: 6rpx;
      picker {
        width: 100%;
      }
    }
    .right-arrow-icon {
      display: flex;
      align-items: center;
      position: absolute;
      top: 0;
      bottom: 0;
      right: 50rpx;
      transform: rotate(90deg);
      image {
        width: 20rpx;
      }
    }
  }
  .form-item-date-picker,
  .form-item-textarea,
  .form-item-select-picker {
    padding-bottom: 36rpx;
    .label {
      padding-bottom: 10rpx;
    }
  }

  .inline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  // .picker-time {
  //   display: flex;
  //   align-items: center;
  //   height: 77rpx;
  //   margin: 36rpx 0;
  //   padding-left: 40rpx;
  //   background: #ffffff;
  //   box-shadow: 0px 0px 8rpx rgba(0, 0, 0, 0.16);
  //   opacity: 1;
  //   border-radius: 6rpx;
  // }
}

// .checkRoorm {
//   pointer-event: none;
//   .img {
//     pointer-event: auto;
//   }
//   p {
//     font-size: 34rpx;
//     line-height: 60rpx;
//     color: #000000;
//     &.noValue {
//       color: #ccc;
//     }
//   }
//   .picker-text {
//     font-size: 34rpx;
//   }
// }
// .medical {
//   width: 100%;
//   height: 100%;
//   background: #f9f9f9;
// }
// .time {
//   height: 98rpx;
//   line-height: 98rpx;
//   font-weight: 600;
//   color: #2c9af1;
//   position: relative;
//   background: #fff;
// }
// .time .today {
//   font-size: 40rpx;
//   margin-left: 32rpx;
// }
// .time .picker-time {
//   height: 98rpx;
//   line-height: 98rpx;
//   position: absolute;
//   right: 32rpx;
//   top: 0;
// }
// .time .picker-time .picker-btn {
//   margin-right: 40rpx;
//   font-size: 30rpx;
// }
// .time .kailong {
//   width: 0;
//   height: 0;
//   border-right: 14rpx solid transparent;
//   border-left: 14rpx solid transparent;
//   border-top: 14rpx solid #2c9af1;
//   position: absolute;
//   right: 0;
//   top: 50%;
//   transform: translateY(-50%);
// }
// .monitoring-item-hesuan {
//   height: 170rpx;
//   line-height: 170rpx;
//   position: relative;
// }
// .monitoring-item-hesuan .radio-item {
//   /* height: 170rpx;
//   line-height: 170rpx; */
//   position: absolute;
//   right: 0;
//   top: 50%;
//   transform: translateY(-50%);
// }
// .block_line {
//   width: 100%;
//   border-bottom: 1rpx solid #e5e5e5;
//   margin: 44rpx 0 34rpx;
// }
// .checkbox {
//   color: #666666 !important;
//   font-size: 30rpx !important;
// }
// .mypickerNO {
//   color: #666;
//   margin-top: 20rpx;
//   font-size: 34rpx;
// }
// .mypicker {
//   margin-top: 20rpx;
//   font-size: 34rpx;
// }
// .bloodSugar {
//   .uni-forms-item__content {
//     display: flex;
//   }
// }
// .split {
//   line-height: 70rpx;
// }
</style>
